package com.tony.spring.mode.observer;

/**
 * 事件对象
 * @author qiu
 *
 */
public class MyEvent {
	
	// 目标对象
	public Object target;
	
	// 其他参数
	private String name;

	public MyEvent(Object target, String name) {
		this.target = target;
		this.name = name;
	}

	public Object getTarget() {
		return target;
	}

	public void setTarget(Object target) {
		this.target = target;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	

}
